package com.tidc.commonality.fallbackFactory;

import com.tidc.commonality.api.StudentCheckApi;
import com.tidc.commonality.ov.UserOV;
import feign.hystrix.FallbackFactory;

import javax.servlet.http.HttpServletRequest;

/**
 * @ClassNmae Checkprovider
 * @Description TODO
 * @Author 冯涛滔
 **/
public class StudentCheckProviderFallbackFactory implements FallbackFactory<StudentCheckApi> {
	@Override
	public StudentCheckApi create(Throwable throwable) {
		return new StudentCheckApi() {
			@Override
			public UserOV teamId(int student_id, int team_id) {
				return null;
			}

			@Override
			public UserOV getmatches(int id) {
				return null;
			}

			@Override
			public UserOV myWorks(String token) {
				return null;
			}

			@Override
			public UserOV getWorks(int id, String token) {
				return null;
			}

			@Override
			public UserOV getScoreTop(int id) {
				return null;
			}

			@Override
			public UserOV getMatches() {
				return null;
			}

			@Override
			public UserOV getMyMatches(String token) {
				return null;
			}

			@Override
			public UserOV getIndexRank() {
				return null;
			}

			@Override
			public UserOV getDomainMatch(String domain, HttpServletRequest req) {
				return null;
			}

			@Override
			public UserOV likeMatch(String name) {
				return null;
			}

			@Override
			public UserOV checkStudent(String email) {
				return null;
			}

			@Override
			public UserOV getTeam(int id, String token) {
				return null;
			}

			@Override
			public UserOV checkStudentMatch(String domain) {
				return null;
			}

			@Override
			public UserOV getMatch(String token) {
				return null;
			}

			@Override
			public UserOV mymatchs(String token) {
				return null;
			}

			@Override
			public UserOV getMatchsWorks(int id) {
				return null;
			}

			@Override
			public UserOV checkTeacher(String email) {
				return null;
			}

			@Override
			public UserOV checkMatchPower(int id) {
				return null;
			}

			@Override
			public int hashCode() {
				return super.hashCode();
			}
		};
	}
}
